Public Class EAlumno
    Inherits EPersona  'Herencia de la clase persona
    Private mNum_Legajo As Integer
    Private mFecha_Nacimiento As Date
    Private mSexo As String
    Private mNacionalidad As String
    Private mEdad As Integer
    Private mActivo As Integer
    Private ListaDeAsignaturas As List(Of Entidades.EAsignatura)
    Private ListaDeTutores As List(Of Entidades.ETutor)
    Private listaDeVinculos As List(Of Entidades.EVinculo)
    Private ListaDeInasistencias As List(Of Entidades.EInasistencia)
    Private ListaDeAmonestaciones As List(Of Entidades.EAmonestacion)
    'se llama al constructor de la clase base
    'para inicializar sus valores y luego inicializo los de la clase
    Public Sub New()
        MyBase.New()
        mNum_Legajo = 0
        mFecha_Nacimiento = "01/01/1900"
        mSexo = ""
        mNacionalidad = ""
        mEdad = 0
        mActivo = 0
    End Sub

    Public Property Num_Legajo() As Integer
        Get
            Return mNum_Legajo
        End Get
        Set(ByVal value As Integer)
            mNum_Legajo = value
        End Set
    End Property

    Public Property Fecha_Nacimiento() As Date
        Get
            Return mFecha_Nacimiento
        End Get
        Set(ByVal value As Date)
            mFecha_Nacimiento = value
        End Set
    End Property

    Public Property Sexo() As String
        Get
            Return mSexo
        End Get
        Set(ByVal value As String)
            mSexo = value
        End Set
    End Property

    Public Property Nacionalidad() As String
        Get
            Return mNacionalidad
        End Get
        Set(ByVal value As String)
            mNacionalidad = value
        End Set
    End Property

    Public Property Edad() As Integer
        Get
            Return mEdad
        End Get
        Set(ByVal value As Integer)
            mEdad = value
        End Set
    End Property

    Public Property Activo() As Integer
        Get
            Return mActivo
        End Get
        Set(ByVal value As Integer)
            mActivo = value
        End Set
    End Property

    Public Property ListaInasistencias() As List(Of Entidades.EInasistencia)
        Get
            Return Listadeinasistencias
        End Get
        Set(ByVal value As List(Of Entidades.EInasistencia))
            Listadeinasistencias = value
        End Set
    End Property
    Public Property ListaTutores() As List(Of Entidades.ETutor)
        Get
            Return ListaDeTutores
        End Get
        Set(ByVal value As List(Of Entidades.ETutor))
            ListaDeTutores = value
        End Set
    End Property
    Public Property ListaVinculos() As List(Of Entidades.EVinculo)
        Get
            Return listaDeVinculos
        End Get
        Set(ByVal value As List(Of Entidades.EVinculo))
            listaDeVinculos = value
        End Set
    End Property

End Class
